<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt">
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=GBK" />
    <title>系统</title>
    <style type="text/css">
        <!--
        body {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            background-image: url(adminwebstyle/images/main_top_bj2.jpg);}
        INPUT.smallInput {
            BORDER-RIGHT: solid #3D71BA 1px; BORDER-TOP: solid #3D71BA 1px; FONT-WEIGHT: normal; FONT-SIZE: 9pt; BORDER-LEFT: solid #3D71BA 1px; LINE-HEIGHT: normal; BORDER-BOTTOM:solid #3D71BA 1px; FONT-STYLE: normal; HEIGHT: 15px; FONT-VARIANT: normal

        }
        -->
    </style>
</head>

<body>
<form action="servlet/CheckAdminLogin?method=login" method="post" onsubmit="return checkLogin()">
    <table width="642" height="431" border="0" align="center" cellpadding="0" cellspacing="0" background="adminwebstyle/images/denglu.gif" style="margin-top:70px;background-repeat:no-repeat;">
        <tr>
            <td height="219" colspan="4">&nbsp;</td>
        </tr>
        <tr>
            <td height="13" colspan="4">&nbsp;</td>
        </tr>
        <tr>
            <td width="289" height="42">&nbsp;</td>
            <td width="220" valign="middle" style="padding:2px;"><input type="text" name="userName"  id="userName" maxlength="20" size="20" value="" style="width:150px;" class="smallInput"></td>
            <td width="79">&nbsp;</td>
            <td width="54" style="padding-top:0px; cursor:hand;">&nbsp;</td>
        </tr>
        <tr>
            <td height="25">&nbsp;</td>
            <td valign="top" style="padding:2px;"><input id="pwd" type="password" name="pwd"  maxlength="20" size="21" value="" style="width:150px;" class="smallInput"></td>
            <td>&nbsp;</td>
            <td style="padding-top:0px; cursor:hand;">&nbsp;</td>
        </tr>

        <tr>
            <td colspan="4" align="center"><span style="padding-top:0px; cursor:hand; padding-right:3px;">
      <input type="image" name="" src="adminwebstyle/images/in.gif" border="0">
    </span><font color="#FF0000" style="font-size:12px"></font></td>
        </tr>
        <tr height="100">
            <td height="88" colspan="4"><%
                String error = (String)request.getAttribute("adminLoginError");
                if(error != null){
                    out.println("<font color='#FF0000' size='2'>"+error+"</font>");
                }
            %></td>
        </tr>
    </table>
</form>
</body>
</html>
